package com.example.designsoft.mvpexercise;

import androidx.appcompat.app.AppCompatActivity;

import android.os.Bundle;
import android.util.Log;

import com.example.designsoft.MyApplication;
import com.example.designsoft.R;
import com.example.designsoft.basetest.BaseActivity;
import com.example.designsoft.mvptest.MvpListener;

public class MvpExerciseActivity extends BaseActivity<MvpExercisePresenter, MvpExerciseModel> implements MvpExerciseContract.ExerciseView {

    @Override
    public void initData() {
        mPresenter.setResultData("第一次");
    }

    @Override
    public int getLayoutResId() {
        return R.layout.activity_mvp_exercise;
    }


    @Override
    public void setData(String s) {
        Log.e(MyApplication.TAG, s);
    }

    @Override
    public void showLoading() {

    }

    @Override
    public void showError() {

    }
}
